home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / devices / bootblock.h < prev    next >
C/C++ Source or Header  |  1996-09-10  |  908b  |  45 lines

  1. #ifndef DEVICES_BOOTBLOCK_H
  2. #define DEVICES_BOOTBLOCK_H 1
  3. /*
  4. ** bootblock.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/03/95
  11. **
  12. **
  13. */
  14.  
  15. /*
  16. ** This are the StructPointer defines for bootblock.h
  17. */
  18. #ifndef BootBlockPtr
  19. #define BootBlockPtr ADDRESS
  20. #endif
  21. /*
  22. ** End of StructPointer defines for bootblock.h
  23. */        
  24.      
  25.  
  26. #ifndef EXEC_TYPES_H
  27. #include    <exec/types.h>
  28. #endif
  29.  
  30. STRUCT BootBlock  
  31.     STRING bb_id SIZE 4         /* 4 character identifier */
  32.     LONGINT    bb_chksum       /* boot block checksum (balance) */
  33.     LONGINT    bb_dosblock         /* reserved for DOS patch */
  34. END STRUCT 
  35.  
  36. #define     BOOTSECTS   2   /* 1K bootstrap */
  37.  
  38. #define BBID_DOS    "DOS"
  39. #define BBID_KICK   "KICK"
  40.  
  41. #define BBNAME_DOS  &H444F5300  /* 'DOS\0' */
  42. #define BBNAME_KICK &H4B49434B  /* 'KICK' */
  43.  
  44. #endif  /* DEVICES_BOOTBLOCK_H */
  45.